jade.content.schema
Class CommunicativeActSchema
java.lang.Object
|
+--jade.content.schema.ObjectSchema
|
+--jade.content.schema.ContentElementSchema
|
+--jade.content.schema.GenericActionSchema
|
+--jade.content.schema.CommunicativeActSchema
- public class CommunicativeActSchema
- extends GenericActionSchema
- Author:
- Federico Bergenti - Universita` di Parma
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BASE_NAME
public static final java.lang.String BASE_NAME
SENDER
public static final java.lang.String SENDER
RECEIVERS
public static final java.lang.String RECEIVERS
CommunicativeActSchema
public CommunicativeActSchema(java.lang.String name)
- Creates a new schema with a name.
- Parameters:
name - the name of the schema.
add
public void add(java.lang.String name,
ContentElementSchema elementSchema)
- Add a parameter to the schema.
- Parameters:
name - name of the paramter.elementSchema - schema of the parameter.
add
public void add(java.lang.String name,
ContentElementSchema elementSchema,
int cardinality)
- Add a parameter to the schema.
- Parameters:
name - name of the paramter.elementSchema - schema of the parameter.cardinality - cardinality of the paramter, i.e.,
optional or mandatory
getBaseSchema
public static ContentElementSchema getBaseSchema()
- Gets the base schema of this schema.
- Returns:
- the base schema.
newInstance
public AbsObject newInstance()
- Creates a new instance.
- Overrides:
- newInstance in class GenericActionSchema
- Returns:
- teh new instance.